﻿using SqlSugar;

namespace ProjectScheduling_web.model
{
    /// <summary>
    /// 开票产品(开票子表）
    /// </summary>
    [SugarTable("InvoiceProduct")]
    public class InvoiceProduct : BClass
    {
        /// <summary>
        /// 主表ID
        /// </summary>
        public int InvoiceId { get; set; }
        /// <summary>
        /// 产品ID
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductCode { get; set; }
        /// <summary>
        /// 产品规格
        /// </summary>
        public string? ProductSpec { get; set; }
        /// <summary>
        /// 产品单位
        /// </summary>
        public string? ProductUnit{ get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string? ProjectName { get; set; }
        /// <summary>
        /// 产品单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int ProductCount { get; set; }
        /// <summary>
        /// 含税金额
        /// </summary>
        public decimal Money { get; set; }
        public DateTime CreateTime { get; set; }
        public int CreaterId { get; set; }
        public string? CreaterName { get; set; }
    }
}
